package com.tencent.sr.iris.activity.interfaces.request.acticity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 余额流水活动信息
 *
 * @author nixiaolin
 * @date 2023/4/15 15:23
 */
@Data
@Accessors(chain = true)
@ApiModel("余额流水活动信息")
public class FlowActivityInfoRequest {
    @NotBlank(message = "uid不能为空")
    @ApiModelProperty("uid不能为空")
    private String uid;

    @ApiModelProperty("任务id")
    private Long taskRecordId;

    @Valid
    @ApiModelProperty("任务id")
    private LevelUpReq levelUpReq;

    @Data
    @Accessors(chain = true)
    @ApiModel("晋升有礼请求参数")
    public static class LevelUpReq {
        @NotNull(message = "晋升有礼任务id不能为空")
        @ApiModelProperty("晋升有礼任务id")
        private String taskId;
    }
}
